// 改变网页标题
function changeTitle (title) {
  var titleTarget = document.querySelector('title')
  titleTarget.innerHTML = title
}
// 改变网页logo
function changeIcon (path) {
  var link = document.querySelector('link')
  link.type = 'image/x-icon';
  link.href = path + '.ico'
}
export default {
  changeTitle: changeTitle,
  changeIcon: changeIcon,
}